<?php

namespace App\Models\SociatyDB;

use Illuminate\Database\Eloquent\Model;

class Hall extends Model{

    protected $connection = 'mysql_sociaty';

    protected $table = 'sc_hall';

    protected $primaryKey = 'id';

    public $timestamps = false;


    public function sociaty()
    {
        return $this->belongsTo('App\Models\SociatyDB\Sociaty', 'sociaty_id', 'id');
    }


}